package com.app.backendmybatis.mapper;

import com.app.backendmybatis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author ZhengJunJie
 * @date 2020/5/27
 */
@Mapper
public interface UserMapper {

    @Select({
            "select * from tb_user where id = #{id}"
    })
    User selectUser(int id);
}
